btc(test): G1 version_gate SSOT v36-activation boundary KAT (regression-lock) - #376
Merged
Merged
Conversation
Pin the V36 share-format/consensus-revision boundary as a regression lock: is_v36_active() flips at exactly version 36 (35->false, 36->true), uniform cross-coin, with compile-time static_asserts for the if-constexpr gate sites. Second KAT guards the SCOPE invariant that coin-specific segwit activation (BTC 33) is NOT folded into the uniform v36 gate. Proves the v36-delta BOUNDARY only; full v35 byte-parity is closed separately by the canonical golden-hex vector (G0). Rides existing btc_share_test exe, no build.yml change. btc_share_test green locally (boundary 2/2, suite 8/8).
frstrtr
added a commit
that referenced
this pull request
Jun 23, 2026
Pin the V36 share-format/consensus-revision boundary as a regression lock: is_v36_active() flips at exactly version 36 (35->false, 36->true), uniform cross-coin, with compile-time static_asserts for the if-constexpr gate sites. Second KAT guards the SCOPE invariant that coin-specific segwit activation (BTC 33) is NOT folded into the uniform v36 gate. Proves the v36-delta BOUNDARY only; full v35 byte-parity is closed separately by the canonical golden-hex vector (G0). Rides existing btc_share_test exe, no build.yml change. btc_share_test green locally (boundary 2/2, suite 8/8). Co-authored-by: frstrtr <frstrtr@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regression-lock golden KAT for the BTC G1 milestone: pins the version_gate SSOT v36-activation boundary so the #288-class accept-gate semantics cannot silently drift.
Scope: test-only, btc/ fenced (src/impl/btc/test/share_test.cpp, +44/-1). No consensus-value change, no build.yml change (rides existing btc_share_test target).
New KATs:
Local: btc_share_test 8/8 PASS (build clean to 100%). Signed, no third-party attribution.
Held for operator tap — I do not self-merge.